/**
 * 
 */
package cn.edu.cqu.bysj.wm.util;

import java.util.Comparator;
import java.util.Map;


/**
 * @author Meng
 * 
 */
public class MapComparator2 implements Comparator<Map.Entry<Integer, Double>> {

	@Override
	public int compare(Map.Entry<Integer, Double> o1, Map.Entry<Integer, Double> o2) {
		return o1.getValue() >= o2.getValue() ? -1 : 1;
	}
}
